When enabling a user to Microsoft Teams Direct Routing (let’s say with a phone number – DDI “+44zzzzzzzzzz”) you could have the following error
Filter failed to return unique result, “[SipAddress : sip:[email protected]] [LineURI :
tel:+44zzzzzzzzzz] [PrivateLine : tel:+44zzzzzzzzzz] “InvalidOperation: (Set-CsUser:String) [Set-CsUser], InvalidOperationException
+ FullyQualifiedErrorId : ProcessRecord,Microsoft.Rtc.Management.AD.Cmdlets.SetOcsUserCmdlet
+ PSComputerName : api.interfaces.records.teams.microsoft.com
The error is usually due to the phone number (DDI) being already assigned to another user.
To identify who is the user with the DDI assigned you can use the script below
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed